﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LPNEntry.aspx.cs" Inherits="com.vs.RF.Web.receiving.LPNEntry" MasterPageFile="~/RF.Master" %>
<asp:Content ID="Content1" ContentPlaceHolderID="body" runat="server">

    <script type="text/javascript">
        var iNumOfSubmit = 0;
        function valForm() {
            if (form1.tbLPN.value == "") {
                alert("请输入货箱号");
                return false;
            }
            return true;
        }

        function btnOK_Click() {
            if (iNumOfSubmit > 0)
                return;
            if (valForm()) {
                iNumOfSubmit++;
                form1.submit();
            }
        }

        function btnCancel_Click() {
            form1.action = "ItemEntry.aspx";
            form1.submit();
        }

        function on_Load() {
            form1.tbLPN.focus();
        }
    </script>
    
    <%= stErrorMessage %>
    <form id="form1" action="LPNEntryHandling.aspx" method="post">
    <div>
        <table>
            <tr>
                <td>LPN：</td>
                <td><input type="text" name="tbLPN" class="greyRed" /><%= stNofM %></td>
            </tr>
        </table>
    </div>    
    <div id="footer">  
        <input type="button" id="btnOK" value="确定" onclick="btnOK_Click()" class="greyRed"/>
        <input type="button" id="btnCancel" value="取消" onclick="btnCancel_Click()" class="greyRed" />
    </div>
    </form>
</asp:Content>